package com.farmer.reliablemessage.core;

import com.farmer.reliablemessage.entity.ReliableMessage;

/**
 * @author tech-famer
 * @ClassName: MessageWrapper
 * @Description: (这里用一句话描述这个类的作用)
 * @date 2021/11/1 17:14
 */
public class MessageWrapper {

    public MessageWrapper() {
    }

    public MessageWrapper(ReliableMessage message) {
        this.message = message;
        this.intime = System.currentTimeMillis();
    }

    private ReliableMessage message;

    private long intime;


    public ReliableMessage getMessage() {
        return message;
    }

    public void setMessage(ReliableMessage message) {
        this.message = message;
    }

    public long getIntime() {
        return intime;
    }

    public void setIntime(long intime) {
        this.intime = intime;
    }
}
